import request from '../utils/request'


export function login(data) {
	return request({
		data,
		url: '/api/login',
		method: 'post'
	})
}

export function getList() {
	return request({
		url: '/api/list',
	})
}